Skip to content

Avoid hangout when exception in async test#159

Merged
thangqp merged 1 commit intomainfrom
avoid_hangout_while_exception_in_test_async
Jan 20, 2026
Merged

Avoid hangout when exception in async test#159
thangqp merged 1 commit intomainfrom
avoid_hangout_while_exception_in_test_async

Conversation

@thangqp
Copy link
Contributor

@thangqp thangqp commented Jan 20, 2026

PR Summary

In some sync tests in which countdown latch is used. If an exception occurs before latch countdown, the test is entered in hang state.. so we use latch with wait timeout.

Signed-off-by: Thang PHAM <phamthang37@gmail.com>
@thangqp thangqp requested a review from EtienneLt January 20, 2026 14:48
Copy link
Contributor

@EtienneLt EtienneLt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code OK

@sonarqubecloud
Copy link

@thangqp thangqp merged commit 8ade8ee into main Jan 20, 2026
4 checks passed
@thangqp thangqp deleted the avoid_hangout_while_exception_in_test_async branch January 20, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants